package fun.lumia.flink.udf;

import org.apache.flink.table.functions.ScalarFunction;

/**
 * Created by LumiaO
 * on 2025/8/20.
 */
public class UDFDemo01 extends ScalarFunction {

    public String getName() {
        return "myUpper";
    }

    // 定义函数逻辑
    public String eval(String s) {
        return s.toUpperCase();
    }
}
